//
//  UIImageView+Extension.swift
//  SWHProject
//
//  Created by 孙先华 on 2020/5/14.
//  Copyright © 2020 孙先华. All rights reserved.
//

import Foundation
import UIKit
import SDWebImage
extension UIImageView {
    func loadImageURL(imageUrl: String,placeholderImageString: String?){
        
        let placeImage = placeholderImageString ?? ""
        self.sd_setImage(with: URL(string: imageUrl), placeholderImage: UIImage(named: placeImage))
    }
    
    
}
